3.568 \(\int \frac {x^2}{\sqrt {-9-4 x^2}} \, dx\)

Optimal. Leaf size=36 \[ -\frac {1}{8} \sqrt {-4 x^2-9} x-\frac {9}{16} \tan ^{-1}\left (\frac {2 x}{\sqrt {-4 x^2-9}}\right ) \]

[Out]

-9/16*arctan(2*x/(-4*x^2-9)^(1/2))-1/8*x*(-4*x^2-9)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {321, 217, 203} \[ -\frac {1}{8} \sqrt {-4 x^2-9} x-\frac {9}{16} \tan ^{-1}\left (\frac {2 x}{\sqrt {-4 x^2-9}}\right ) \]

Antiderivative was successfully verified.

[In]

Int[x^2/Sqrt[-9 - 4*x^2],x]

[Out]

-(x*Sqrt[-9 - 4*x^2])/8 - (9*ArcTan[(2*x)/Sqrt[-9 - 4*x^2]])/16

Rule 203

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTan[(Rt[b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 217

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 321

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c^(n - 1)*(c*x)^(m - n + 1)*(a + b*x^n
)^(p + 1))/(b*(m + n*p + 1)), x] - Dist[(a*c^n*(m - n + 1))/(b*(m + n*p + 1)), Int[(c*x)^(m - n)*(a + b*x^n)^p
, x], x] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0] && GtQ[m, n - 1] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b,
 c, n, m, p, x]

Rubi steps

\begin {align*} \int \frac {x^2}{\sqrt {-9-4 x^2}} \, dx &=-\frac {1}{8} x \sqrt {-9-4 x^2}-\frac {9}{8} \int \frac {1}{\sqrt {-9-4 x^2}} \, dx\\ &=-\frac {1}{8} x \sqrt {-9-4 x^2}-\frac {9}{8} \operatorname {Subst}\left (\int \frac {1}{1+4 x^2} \, dx,x,\frac {x}{\sqrt {-9-4 x^2}}\right )\\ &=-\frac {1}{8} x \sqrt {-9-4 x^2}-\frac {9}{16} \tan ^{-1}\left (\frac {2 x}{\sqrt {-9-4 x^2}}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 36, normalized size = 1.00 \[ -\frac {1}{8} \sqrt {-4 x^2-9} x-\frac {9}{16} \tan ^{-1}\left (\frac {2 x}{\sqrt {-4 x^2-9}}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[x^2/Sqrt[-9 - 4*x^2],x]

[Out]

-1/8*(x*Sqrt[-9 - 4*x^2]) - (9*ArcTan[(2*x)/Sqrt[-9 - 4*x^2]])/16

________________________________________________________________________________________

fricas [C]  time = 0.88, size = 59, normalized size = 1.64 \[ -\frac {1}{8} \, \sqrt {-4 \, x^{2} - 9} x - \frac {9}{32} i \, \log \left (-\frac {8 \, x + 4 i \, \sqrt {-4 \, x^{2} - 9}}{x}\right ) + \frac {9}{32} i \, \log \left (-\frac {8 \, x - 4 i \, \sqrt {-4 \, x^{2} - 9}}{x}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(-4*x^2-9)^(1/2),x, algorithm="fricas")

[Out]

-1/8*sqrt(-4*x^2 - 9)*x - 9/32*I*log(-(8*x + 4*I*sqrt(-4*x^2 - 9))/x) + 9/32*I*log(-(8*x - 4*I*sqrt(-4*x^2 - 9
))/x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x^{2}}{\sqrt {-4 \, x^{2} - 9}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(-4*x^2-9)^(1/2),x, algorithm="giac")

[Out]

integrate(x^2/sqrt(-4*x^2 - 9), x)

________________________________________________________________________________________

maple [A]  time = 0.01, size = 29, normalized size = 0.81 \[ -\frac {\sqrt {-4 x^{2}-9}\, x}{8}-\frac {9 \arctan \left (\frac {2 x}{\sqrt {-4 x^{2}-9}}\right )}{16} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/(-4*x^2-9)^(1/2),x)

[Out]

-9/16*arctan(2/(-4*x^2-9)^(1/2)*x)-1/8*(-4*x^2-9)^(1/2)*x

________________________________________________________________________________________

maxima [C]  time = 2.93, size = 19, normalized size = 0.53 \[ -\frac {1}{8} \, \sqrt {-4 \, x^{2} - 9} x + \frac {9}{16} i \, \operatorname {arsinh}\left (\frac {2}{3} \, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(-4*x^2-9)^(1/2),x, algorithm="maxima")

[Out]

-1/8*sqrt(-4*x^2 - 9)*x + 9/16*I*arcsinh(2/3*x)

________________________________________________________________________________________

mupad [B]  time = 0.12, size = 31, normalized size = 0.86 \[ -\frac {x\,\sqrt {-4\,x^2-9}}{8}+\frac {\ln \left (x-\frac {\sqrt {-4\,x^2-9}\,1{}\mathrm {i}}{2}\right )\,9{}\mathrm {i}}{16} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/(- 4*x^2 - 9)^(1/2),x)

[Out]

(log(x - ((- 4*x^2 - 9)^(1/2)*1i)/2)*9i)/16 - (x*(- 4*x^2 - 9)^(1/2))/8

________________________________________________________________________________________

sympy [A]  time = 0.39, size = 36, normalized size = 1.00 \[ - \frac {x \sqrt {- 4 x^{2} - 9}}{8} - \frac {9 \operatorname {atan}{\left (\frac {2 x}{\sqrt {- 4 x^{2} - 9}} \right )}}{16} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2/(-4*x**2-9)**(1/2),x)

[Out]

-x*sqrt(-4*x**2 - 9)/8 - 9*atan(2*x/sqrt(-4*x**2 - 9))/16

________________________________________________________________________________________